package com.ibm.cps.model;

import java.util.Collection;

import com.ibm.factories.DataSourceFactory;
import com.ibm.factories.PublishProcessorFactory;
import com.ibm.util.exception.CPSException;

public class RestAdapter extends MetadataAdapter {

	public RestAdapter(DataSourceFactory factory, PublishProcessorFactory publishFactory) {
		super(factory, publishFactory);
	}

	@Override
	public String adapt2Json(String nodeRedInput, String tenantid)
			throws CPSException {
		return nodeRedInput;
	}

	@Override
	public Collection<String> adaptFromJson(Collection<String> allMetadatas,
			Collection<String> targetMetadatas) throws CPSException {
		return targetMetadatas;
	}

}
